package com;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class ShopData extends HttpServlet {

    public int normal_shop_count = 0;
    public int fash_shop_count = 0;
    public int fash_shop_max_limit = 0;

    public static ShopData instance = null;
    @Override
    public void init() throws ServletException {
        super.init();

        String max = this.getServletConfig().getInitParameter("fash_shop_count");
        fash_shop_max_limit = Integer.valueOf(max).intValue();
        System.out.print("fash_shop_max_limit  : " + max);

        ShopData.instance = this;
    }

    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }

}
